﻿using FreeSql.DataAnnotations;
using Newtonsoft.Json;
using System;

namespace NlpTrainApp.Bll.Model.Dao
{

    [JsonObject(MemberSerialization.OptIn), Table(Name = "label_types_spantype", DisableSyncStructure = true)]
    public partial class Label_types_spantype
    {

        [JsonProperty, Column(Name = "id", IsPrimary = true)]
        public int Id { get; set; }

        [JsonProperty, Column(Name = "text", DbType = "VARCHAR(100)", IsNullable = false)]
        public string Text { get; set; }

        [JsonProperty, Column(Name = "prefix_key", DbType = "VARCHAR(10)")]
        public string Prefix_key { get; set; }

        [JsonProperty, Column(Name = "suffix_key", DbType = "VARCHAR(1)")]
        public string Suffix_key { get; set; }

        [JsonProperty, Column(Name = "background_color", DbType = "VARCHAR(7)", IsNullable = false)]
        public string Background_color { get; set; }

        [JsonProperty, Column(Name = "text_color", DbType = "VARCHAR(7)", IsNullable = false)]
        public string Text_color { get; set; }

        [JsonProperty, Column(Name = "created_at")]
        public DateTime Created_at { get; set; }

        [JsonProperty, Column(Name = "updated_at")]
        public DateTime Updated_at { get; set; }

        [JsonProperty, Column(Name = "project_id")]
        public int Project_id { get; set; }

    }

}
